package com.idealighter.game.login.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.idealighter.game.core.annotation.ReqMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;
import lombok.Data;

@ReqMsg(ModuleMsgIdConstant.Account.WE_CHAT_LOGIN)
@Data
public class ReqWeChatLoginMsg implements ReqMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Account.WE_CHAT_LOGIN;
  // 微信unionId
  @Protobuf(order = 2)
  private String unionId;
  // 用户昵称
  @Protobuf(order = 3)
  private String nickName;
  @Protobuf(order = 4)
  private int platform = 0; // 平台(0:ios,1:android,2:pc)

  @Protobuf(order = 5)
  private String sex;

  @Protobuf(order = 6)
  private String country;

  @Protobuf(order = 7)
  private String headUrl;
}
